package models.vo {

	import org.restfulx.collections.ModelsCollection;
	import org.restfulx.models.RxModel;
  
  	[Resource(name="tipos_precondicao")]
  	
  	[Bindable]
  	public class TipoPrecondicao extends RxModel 
  	{
    	public static const LABEL	:	String = "descricao";

    	public var descricao		:	String;
    	public var ativo			:	Boolean;

    	[HasMany]
    	public var precondicoes		:	ModelsCollection;
    
    	public function TipoPrecondicao() 
    	{
      		super(LABEL);
    	}
  	}
}
